package net.realsee.service.wcs.warehouse;

import com.baomidou.mybatisplus.extension.service.IService;
import net.realsee.domain.wcs.warehouse.WcsWarehouseLocType;
import net.realsee.domain.wcs.warehouse.bo.WcsWarehouseLocTypeBo;
import net.realsee.domain.wcs.warehouse.vo.WcsWarehouseLocTypeVo;
import net.realsee.framework.core.domain.PageQuery;
import net.realsee.framework.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 库位类型Service接口
 *
 * @author realsee
 * @date 2023-08-11
 */
public interface IWcsWarehouseLocTypeService extends IService<WcsWarehouseLocType> {

    /**
     * 查询库位类型
     */
    WcsWarehouseLocTypeVo selectVoById(Long id);

    /**
     * 查询库位类型列表
     */
    TableDataInfo<WcsWarehouseLocTypeVo> selectVoPage(WcsWarehouseLocTypeBo bo, PageQuery pageQuery);

    /**
     * 查询库位类型列表
     */
    List<WcsWarehouseLocTypeVo> selectVoList(WcsWarehouseLocTypeBo bo);

    /**
     * 新增库位类型
     */
    Boolean insertByBo(WcsWarehouseLocTypeBo bo);

    /**
     * 修改库位类型
     */
    Boolean updateByBo(WcsWarehouseLocTypeBo bo);

    /**
     * 校验并批量删除库位类型信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
}
